<?php
/**
 * @author FeoniX
 * @version v1.0
 */
/**
 * 获取配置
 * @param [type] $sKey [description]
 */
function C($sKey = ''){
	global $C;
	if(!$sKey){
		return $C;
	}
	if(!$C[$sKey]){
		return null;
	}
	return $C[$sKey];
}

function M($modelName){
	$table = new Model($modelName);
	return $table;
}
?>